

package soucastky;

import dt.DrawingTool;



public class Trojuhelnik {

	private Bod a;
	private Bod b;
	private Bod c;

	public Trojuhelnik(Bod a, Bod b, Bod c) {
		super();
		this.a = a;
		this.b = b;
		this.c = c;
	}

	public void vykresli(DrawingTool dt) {
		dt.line(a.getX(), a.getY(), b.getX(), b.getY());
		dt.line(a.getX(), a.getY(), c.getX(), c.getY());
		dt.line(c.getX(), c.getY(), b.getX(), b.getY());

	}
	
	
}
